curl --request POST \
--url https://api-lr.agent.ai/v1/action/heygen_avatar_get_video_status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video_id": "{{heygen_result.video_id}}",
"output_variable_name": "video_status"
}
'{
"status": 123,
"response": {}
}Polls HeyGen for video generation progress. Returns status (pending/processing/completed/failed) and the video_url + thumbnail_url when complete.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/heygen_avatar_get_video_status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"video_id": "{{heygen_result.video_id}}",
"output_variable_name": "video_status"
}
'{
"status": 123,
"response": {}
}Bearer token from your account (https://agent.ai/user/integrations#api)